package com.ktgj.flight.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 订单附件对象 flight_order_attachment
 * 
 * @author ruoyi
 * @date 2021-10-26
 */
public class FlightOrderAttachment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long attachmentId;

    /** 第三方接口ID(t_to_order_change表的APIREFUNDORDERID) */
    @Excel(name = "第三方接口ID(t_to_order_change表的APIREFUNDORDERID)")
    private String outId;

    /** 原始文件名称 */
    @Excel(name = "原始文件名称")
    private String oldfilename;

    /** 附件内容 */
    @Excel(name = "附件内容")
    private String fileContent;

    /** 第三方附件ID（调用上传附件接口成功后返回的id） */
    @Excel(name = "第三方附件ID", readConverterExp = "调=用上传附件接口成功后返回的id")
    private String outAttachmentId;

    /** 关联退票表的主键 */
    @Excel(name = "关联退票表的主键")
    private Long changeOrderId;

    /** 状态（1上传成功,2附件删除） */
    @Excel(name = "状态", readConverterExp = "1=上传成功,2附件删除")
    private String status;

    /** 附件新名称 */
    @Excel(name = "附件新名称")
    private String newfilename;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderId;

    public void setAttachmentId(Long attachmentId) 
    {
        this.attachmentId = attachmentId;
    }

    public Long getAttachmentId() 
    {
        return attachmentId;
    }
    public void setOutId(String outId) 
    {
        this.outId = outId;
    }

    public String getOutId() 
    {
        return outId;
    }
    public void setOldfilename(String oldfilename) 
    {
        this.oldfilename = oldfilename;
    }

    public String getOldfilename() 
    {
        return oldfilename;
    }
    public void setFileContent(String fileContent) 
    {
        this.fileContent = fileContent;
    }

    public String getFileContent() 
    {
        return fileContent;
    }
    public void setOutAttachmentId(String outAttachmentId) 
    {
        this.outAttachmentId = outAttachmentId;
    }

    public String getOutAttachmentId() 
    {
        return outAttachmentId;
    }
    public void setChangeOrderId(Long changeOrderId) 
    {
        this.changeOrderId = changeOrderId;
    }

    public Long getChangeOrderId() 
    {
        return changeOrderId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setNewfilename(String newfilename) 
    {
        this.newfilename = newfilename;
    }

    public String getNewfilename() 
    {
        return newfilename;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attachmentId", getAttachmentId())
            .append("outId", getOutId())
            .append("oldfilename", getOldfilename())
            .append("fileContent", getFileContent())
            .append("outAttachmentId", getOutAttachmentId())
            .append("changeOrderId", getChangeOrderId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("newfilename", getNewfilename())
            .append("orderId", getOrderId())
            .toString();
    }
}
